package cn.stylefeng.guns.modular.launchpad.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p> 分发记录表 实体类 </p>
 *
 * @author yaying.liu
 * @since 2024-05-13 17:02:34
 */

@Data
@TableName("launchpad_distribution")
@Accessors(chain = true)
public class Distribution implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 项目id
     */
    @TableField("product_id")
    private Long productId;

    /**
     * 用户id
     */
    @TableField("member_id")
    private Long memberId;

    /**
     * 分发币种
     */
    @TableField("distribution_coin")
    private String distributionCoin;

    /**
     * 分发数量
     */
    @TableField("distribution_num")
    private String distributionNum;

    /**
     * 分发时间
     */
    @TableField("create_time")
    private Date createTime;

    /**
     * 领取状态 0-未领取 1-已领取
     */
    @TableField("receive_status")
    private int receiveStatus;

    /**
     * 领取时间
     */
    @TableField("receive_time")
    private Date receiveTime;

    /**
     * 修改时间
     */
    @TableField("update_time")
    private Date updateTime;


    /**
     * 质押币种
     */
    @TableField("pledge_coin")
    private String pledgeCoin;

    /**
     * 质押数量
     */
    @TableField("pledge_num")
    private String pledgeNum;

    @TableField(exist = false)
    private String accountName; // 账户名

    @TableField(exist = false)
    private String productCoin; // 项目币名

}
